import * as mongoose from 'mongoose';

export const TagSchema = new mongoose.Schema({
  name: String,
  desc: String,
  type: String,
  nodeType: String,
  parentId: mongoose.SchemaTypes.ObjectId,
  userId: Number,
  teamId: Number,
  sort: Number,
  icon: String,
  image: String,
  columnCount: Number,
  preload: Boolean,
  frames: {
    type: mongoose.Schema.Types.Mixed,
    required: false,
  },
  createAt: Number,
  updateAt: Number,
});
